package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/18
 * Time: 14:47
 * Description:
 */
@Data
@TableName("t_sys_charge_rule")
@ApiModel(value = "TSysChargeRuleEntity", description = "数据库-收费规则表")
public class TSysChargeRuleEntity implements Serializable {
    @TableId(value = "id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String id;

    @TableField("gold_coin_amount")
    @ApiModelProperty(value = "所需金币数量(单位金额，例如轮播一次多少金币，固定头条为一天多少金币)", dataType = "BigDecimal", notes = "所需金币数量(单位金额，例如轮播一次多少金币，固定头条为一天多少金币)")
    private BigDecimal goldCoinAmount;

    @TableField("charge_business_type")
    @ApiModelProperty(value = "收费业务类型码值 10012001:项目发布 10012002:任务发布 10012003:首页轮播项目 10012004:固定头条项目", dataType = "String", notes = "收费业务类型码值")
    private String chargeBusinessType;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "Date", notes = "创建时间")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty(value = "更新时间", dataType = "Date", notes = "更新时间")
    private Date updateTime;

    @TableField("update_user_id")
    @ApiModelProperty(value = "更新操作用户id", dataType = "String", notes = "更新操作用户id")
    private String updateUserId;
}
